package com.yhao.Dao.tx;

import com.yhao.bean.tx.IdentifyRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/11/10.
 */
public interface IdentifyRecordRepository extends CrudRepository<IdentifyRecord, Long> {

    //jpa
//    List<IdentifyRecord> findByUserName(String userName);

    int countByUserName(String userName);

}
